Skip to content

replace btn with button#7685

Draft
fikrydev wants to merge 1 commit into
mainfrom
chore/replace-btn-with-button
Draft

replace btn with button#7685
fikrydev wants to merge 1 commit into
mainfrom
chore/replace-btn-with-button

Conversation

@fikrydev

Copy link
Copy Markdown
Contributor

Summary

Remove any usage of btn with button in the repo.

How did you test this change?

@fikrydev fikrydev self-assigned this Jun 22, 2026
setupButtonClickAnalytics: function() {
liquipedia.analytics.clickTrackers.push( {
selector: '.btn:not(a *), button:not(a *)',
selector: 'button:not(a *)',

@Rathoz Rathoz Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a css class or html element?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, supposed to be css class, not element

@ElectricalBoy

Copy link
Copy Markdown
Collaborator

imo it's better to keep .btn to distinguish our pseudo-buttons with <button> elements

@fikrydev

Copy link
Copy Markdown
Contributor Author

imo it's better to keep .btn to distinguish our pseudo-buttons with <button> elements

.btn will be phased out and .button will take its place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants